package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanBoXinXiSavePO;
import com.ct.application.shipping.model.po.ChuanBoXinXiSearchPO;
import com.ct.application.shipping.model.vo.ChuanBoXinXiVO;
import com.ct.application.shipping.model.vo.ChuanYuanFenZuVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanBoXinXiDO;

import java.util.List;

/**
 * <p>
 * 船舶信息 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanBoXinXiService extends IBaseService<ChuanBoXinXiDO> {

    Page<ChuanBoXinXiVO> findChuanBoXinXi(ChuanBoXinXiSearchPO searchPO);

    List<ChuanBoXinXiVO> findChuanBoXinXisList();
    boolean saveChuanBoXinXi(ChuanBoXinXiSavePO savePO);

    boolean updateChuanBoXinXi(ChuanBoXinXiSavePO savePO);

    ChuanBoXinXiVO getChuanBoXinXi(Long id);

    boolean del(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
